package demo.shardingspere.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName t_order
 */
@TableName(value ="t_order")
@Data
public class Order implements Serializable {
    /**
     * 
     */
    @TableId(value = "orderid", type = IdType.AUTO)
    private Long orderid;

    /**
     * 
     */
    @TableField(value = "ordernumber")
    private String ordernumber;

    /**
     * 
     */
    @TableField(value = "userid")
    private Long userid;

    /**
     * 
     */
    @TableField(value = "productid")
    private Long productid;

    /**
     * 
     */
    @TableField(value = "create_time")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}